package com.yxp.webtest.xsd;

import org.springframework.context.support.ClassPathXmlApplicationContext;

public class XsdTest {

    public static void main(String[] args) {
        ClassPathXmlApplicationContext classPathXmlApplicationContext = new ClassPathXmlApplicationContext("classpath:spring/spring-people.xml");

        People p = (People)classPathXmlApplicationContext.getBean("cutesource");
        System.out.println(p.getId());
        System.out.println(p.getName());
        System.out.println(p.getAge());
    }
}
